﻿using System.IO;
using System.Text;

namespace APH.Parl2.Business.Publishing
{
    public class StringWriterWithEncoding : StringWriter
    {
        private readonly Encoding _encoding;

        public override Encoding Encoding
        {
            get
            {
                return _encoding;
            }
        }

        public StringWriterWithEncoding(Encoding encoding)
        {
            _encoding = encoding;
        }
    }
}